package com.zoro.dyformservice.support;

import com.zoro.dyformservice.DyFormServiceApplication;
import com.zoro.dyformservice.support.ex.ExceptionHandlerConfig;
import com.zoro.dyformservice.support.filter.auth.FilterConfig;
import com.zoro.dyformservice.support.filter.request.MultipleReadableServletRequestFilterConfig;
import com.zoro.dyformservice.support.threadutil.ThreadConfig;
import com.zoro.dyformservice.support.web.WebConfig;
import com.zoro.dyformservice.support.web.converter.SerializerScan;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@Import({MultipleReadableServletRequestFilterConfig.class,
        FilterConfig.class, WebConfig.class, ThreadConfig.class,ExceptionHandlerConfig.class})
@SerializerScan(baseClass = DyFormServiceApplication.class)
@EnableConfigurationProperties
public class Config {
}
